package com.rongke.lequ.network.api

import com.rongke.baselibrary.network.BaseResponse
import com.rongke.lequ.network.response.LoginResponse

import okhttp3.MultipartBody
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.Multipart
import retrofit2.http.POST
import retrofit2.http.Part
import retrofit2.http.Query
import retrofit2.http.Url

/**
 * Created by Administrator on 2017/11/21.
 * 除去租赁外相关api
 */

interface UserApi {
    /**
     * 手机号登录
     * @param phoneSign 设备别名
     */
    @GET("api/user/login")
    fun phoneLogin(@Query("phone") phone: String,
                   @Query("password") password: String,
                   @Query("phoneSign") phoneSign: String)
            : Call<BaseResponse<LoginResponse>>
}
